EvolutionTrigger

@Serializable
data class EvolutionTrigger(val id: Int, val name: String, val names: List<Name>, val pokemonSpecies: List<Handle.Named<PokemonSpecies>>) : NamedModel(source)

Evolution triggers are the events and conditions that cause a Pokémon to evolve. See: https://pokeapi.co/docs/v2#evolution-triggers

Parameters

id

The identifier for this resource.

name

The name for this resource.

names

The name of this resource listed in different languages.

pokemonSpecies

A list of pokemon species that result from this evolution trigger.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, names: List<Name>, pokemonSpecies: List<Handle.Named<PokemonSpecies>>)

Properties

Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val name: String
Link copied to clipboard